<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>sign</title>
		<script language="JavaScript">
	</script>
		<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-color: #EEF2FB;
}

.titlebt_custom {
	font-size: 12px;
	line-height: 26px;
	font-weight: bold;
	color: #000000;
	background-image: url(../images/content-bg.gif);
	background-repeat: no-repeat;
	display: block;
	text-indent: 15px;
	padding-top: 5px;
}
-->
</style>
		<link href="../images/skin.css" rel="stylesheet" type="text/css" />
	</head>
	<body>
		<table width="100%" border="0" cellpadding="0" cellspacing="0">
			<tr>
				<td colspan="3">
					<table width="100%" border="0" cellpadding="0" cellspacing="0">
						<tr>
							<td width="17" valign="top"
								background="../images/mail_leftbg.gif">
								<img src="../images/left-top-right.gif" width="17" height="29" />
							</td>
							<td valign="top" background="../images/content-bg.gif">
								<table width="100%" height="31" border="0" cellpadding="0"
									cellspacing="0" class="left_topbg" id="table2">
									<tr>
										<td height="31">
											
												Message Details
											
										</td>
									</tr>
								</table>
							</td>
							<td width="16" valign="top"
								background="../images/mail_rightbg.gif">
								<img src="../images/nav-right-bg.gif" width="16" height="29" />
							</td>
						</tr>
					</table>
				</td>
			</tr>
			<tr bgcolor="#F7F8F9">
				<td colspan="1" width="17" background="../images/mail_leftbg.gif">
					<img src="../images/mail_leftbg.gif" width="17" height="17" />
				</td>
				<td colspan="1" width="100%" height="100%">
					<table border="0">
						<tr>
							<td>
								From:
							</td>
							<td>
								<s:property value="exist_message.user.username" />
							</td>
						</tr>
						<tr>
							<td>
								Title:
							</td>
							<td>
								<s:property value="exist_message.title" />
							</td>
						</tr>
						<tr>
							<td>
								Content:
							</td>
							<td>
								<s:property value="exist_message.content" />
							</td>
						</tr>
						<tr>
							<td>
								Type:
							</td>
							<td>
								<s:property value="exist_message.type" />
							</td>
						</tr>
					</table>
				</td>
				<td colspan="1" width="16" background="../images/mail_rightbg.gif">
					<img src="../images/mail_rightbg.gif" width="16" height="17" />
				</td>
			</tr>
			<tr>
				<td colspan="3">
					<table width="100%" border="0" cellpadding="0" cellspacing="0">
						<tr>
							<td width="17" valign="top"
								background="../images/mail_leftbg.gif">
								<img src="../images/buttom_left2.gif" width="17" height="17" />
							</td>
							<td valign="top" background="../images/buttom_bgs.gif">
								<img src="../images/buttom_bgs.gif" width="17" height="17"/>
							</td>
							<td width="16" valign="top"
								background="../images/mail_rightbg.gif">
								<img src="../images/buttom_right2.gif" width="16" height="17" />
							</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
		<div align="center">
			<table width="30%">
				<tr>
					<td>
						<a href="<s:url value="deleteMessage.action">
										<s:param name="id" value="exist_message.id"/>
                               </s:url>" 
                               onClick="if(confirm('are you sure to delete this record？')) 
                               return true;else return false;">delete</a>
					</td>
					<td>
						
								<a href="<s:url action="reply_message.action">
								</s:url>">reply</a>
					</td>
				</tr>
			</table>
		</div>
	</body>
</html>